﻿// =================================================================== 
// 项目说明
//====================================================================
// liucx @Copy Right 2019
// 文件： CommentImageEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/10/10
// 负责人：liucx
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    ///内容图片数据实体  
    /// </summary>
    [PrimaryKey("CommentImageID")]
    public class CommentImage
    {
        ///<summary>
        ///内容图片
        ///</summary>
        public CommentImage()
        {
        }


        ///<summary>
        ///主键
        ///</summary>
        [Column("CommentImageID", "主键")]
        public int CommentImageID { get; set; }

        ///<summary>
        ///图片链接
        ///</summary>
        [Column("ImageUrl", "图片链接")]
        public string ImageUrl { get; set; }

        ///<summary>
        ///图片名称
        ///</summary>
        [Column("ImageName", "图片名称")]
        public string ImageName { get; set; }

        ///<summary>
        ///图片顺序
        ///</summary>
        [Column("ImageSort", "图片顺序")]
        public int ImageSort { get; set; }

        ///<summary>
        ///图片类别
        ///</summary>
        [Column("ImageType", "图片类别")]
        public int ImageType { get; set; }

        ///<summary>
        ///创建时间
        ///</summary>
        [Column("CreateDate", "创建时间")]
        public DateTime CreateDate { get; set; }

        ///<summary>
        ///更新时间
        ///</summary>
        [Column("UpdateDate", "更新时间")]
        public DateTime UpdateDate { get; set; }

        ///<summary>
        ///逻辑标识(1：可用 0：禁用)
        ///</summary>
        [Column("IsActvie", "逻辑标识(1：可用 0：禁用)")]
        public int IsActvie { get; set; }

        ///<summary>
        ///内容ID
        ///</summary>
        [Column("CommentID", "内容ID")]
        public int CommentID { get; set; }

    }
}